package com.ws.user.role.service;

import com.ws.common.easyui.util.Page;
import com.ws.user.role.entity.RolePermission;
import com.ws.common.base.service.IBaseService;

import java.util.List;
import java.util.Map;

public interface IRolePermissionService extends IBaseService<RolePermission>{
	public List<RolePermission> list(RolePermission params);

	public List<RolePermission> list(RolePermission params, Page page);

	public Integer save(RolePermission rolePermission);

    List<String> listPermissionIdByRoleId(String roleId);

    Integer deleteByRoleId(String roleId);
}
